#include "stdafx.h"
#include "SceneMgr.h"

#include "GameObject.h"

namespace WindGE
{
	SceneMgr::SceneMgr()
	{
	}

	SceneMgr::~SceneMgr()
	{
	}

	GameObjectPtr SceneMgr::object_create()
	{
		guid_ptr id = std::make_shared<guid>();
		GameObjectPtr go = std::make_shared<GameObject>();
		go->set_id(id);
		object_cache_.insert({ id->get_idstr(), go });

		return go;
	}
}
